#ifndef ANIMATION_CLASS_HPP_INCLUDED
#define ANIMATION_CLASS_HPP_INCLUDED
#include <SFML/Graphics.hpp>
namespace JDD
{
class AnimationClass
{
public:
    AnimationClass();
    ~AnimationClass();
    void Update();
    void SetFPS(int theFPS);
    void SetRect(sf::IntRect theRect);
    void SetPosition(sf::Vector2i thePosition);
    sf::Vector2i GetPosition();
    void SetMod(sf::Vector2i theMod);
    void SetSize(sf::Vector2i theSize);

    sf::IntRect GetFrame();
private:
    sf::IntRect mFrameRect;
    sf::Vector2i mPosition;
    int mFPS;
    sf::Vector2i mMod;
    sf::Vector2i mSize;
    sf::Clock mClock;

};
}

#endif
